package dome6多接口;

public class B extends A implements F{

    public B(String name) {
        super(name);
    }

    @Override
    public void run() {
        System.out.println(this.name + "正在跑");
    }

    @Override
    public void fly() {

    }

    @Override
    public void swim() {

    }
}
